home *** CD-ROM | disk | FTP | other *** search
- Echo off
- REM *********************************************************************/
- REM */
- REM SYSTEM : HQ-FAX */
- REM COPYRIGHT : (c) 1996 HTF CONSULTING */
- REM */
- REM *********************************************************************/
- REM */
- REM BAT file name: HQFAX.bat */
- REM DESCRIPTION : Build and execute a user customized conversion */
- REM procedure for EPSON to FAX w. View & Send options. */
- REM This Batch file drives HQ-FAX as a stand-alone App.*/
- REM Observe how it owns (starts & terminates) BTS.com */
- REM */
- REM *********************************************************************/
- REM
- CLS
- REM Echo Build and execute a customized Epson to FAX conversion procedure
- REM Echo Enter BREAK to abort or . . .
- REM - Pause
- BTS.com
- EP2LQFAX.exe /spbts %1 %2
- if errorlevel 90 goto Abort
- if not errorlevel 20 goto Chek10
-
- CLS
- ECHO Print Capture is set up. You have 100 seconds to being printing.
- ECHO Ten seconds after the last byte of print data Print Capture will complete.
- if not exist FAX2nite.exe goto Do_manl
-
- ECHO After 2+ minutes The FAX conversion procedure will start automatically.
- PAUSE
- FAX2nite.exe
- goto Quit
-
- :Do_manl
- ECHO Non-registered must enter the command 'FAXIT' when Print Capture completes.
- PAUSE
- goto Quit
-
- :CHek10
- if not errorlevel 10 goto Doit
-
- REM
- CLS
- Echo === You have requested to review the conversion procedure. Here it is! ===
- Echo ======= ========
- Echo Review conversion procedure is available only to registered users.
- Echo ==========================================================================
- Echo Examine the above procedure, Enter Cntl_C to abort or . . .
- Pause
-
- :Doit
- CLS
- Echo ====================
- Echo Conversion underway!
- Echo ====================
- FAXit.exe
-
- :Quit
- CLS
- :Abort
- if errorlevel 91 goto Abend
-
- CLS
- if errorlevel 90 Echo End of job - User exit
- goto End
-
- :Abend
- Echo HQ-FAX Abnormal end !
- :End
- REM C:
- REM chdir c:\
- Echo on